

import java.util.Scanner;

public class Human extends Player{
	
	private int[] tab = new int[5];
	
	public Human(){
		setBot(false);
	}
	int[] getCardsToChange(){
		return tab;
	}
	
	void setCardsToChange(){
		int i=0;
		Scanner scanner = new Scanner(System.in);
		for (i=0;i<tab.length;i++){
			tab[i]=-1;
		}
		for(i=0;i<getNumberOfChange();i++){
			System.out.print("Podaj "+(i+1)+" karte ");
			while (tab[i]>5 || tab[i]<0){
				tab[i] = scanner.nextInt();;
				if (tab[i]>5 || tab[i]<0){
					System.out.print("Podaj ponownie"+i+"karte : ");
				}
			}
		}
	}
}
